screenWidth = 800
screenHeight = 600

## copypaste method to replace paul's adhoc list
## defined in separate file for testing
def populateEnemies(rowCount, xGap, yGap, xMargin, yMargin):
	"""
	rowCount
		number of rows of enemies to fill
	xGap
		gap from top left of enemy to top left of enemy horizontally adjacent
	yGap
		gap from top left of enemy to top left of enemy vertically adjacent
	xMargin
		distance from left border to 1st enemy, and right border to last enemy (give or take xGap)
	yMargin
		distance from top border to 1st row
	"""
	_enemyList = []
	# dentist time: filling the array
	_xCount = xMargin
	while _xCount < (screenWidth - yMargin): # loop until right margin is crossed
		# fill down the column
		for i in range(0, rowCount, 1):
			_enemyList.append([_xCount, (i * yGap) + yMargin])
		# advance to next column
		_xCount += xGap
	
	return _enemyList

if __name__=="__main__":
	str = populateEnemies(2, 50, 64, 10, 10)
	print str
